package com.jeecms.wicool.manager.lottery;


import java.util.Collection;
import java.util.List;
import java.util.Set;

import com.jeecms.cms.entity.main.CmsUser;
import com.jeecms.common.page.Pagination;
import com.jeecms.wicool.entity.lottery.ActiveConfig;
import com.jeecms.wicool.entity.lottery.LotteryConfig;

public interface ActiveConfigMng {
	public Pagination getPage(String name,Integer status,String startTime,String endTime, int pageNo, int pageSize,CmsUser user);
	public ActiveConfig findById(Integer id); 
	public ActiveConfig update(ActiveConfig bean);
	public ActiveConfig save(ActiveConfig bean);
	public ActiveConfig deleteById(Integer id);
	public ActiveConfig[] deleteByIds(Integer[] ids);
	public List<ActiveConfig> getAll(CmsUser user);
	
	public Set<LotteryConfig> updateLotterys(ActiveConfig active,Collection<LotteryConfig> lotterys,String [] delLotteryId);
}